#pragma once
#include "sprite.h"

class CHive :
    public CSprite
{
public:
    CHive(void);
    CHive(CPoint& position);
    ~CHive(void);

    void SerializeSubClass(CMarkup& xmlMessage);
    BOOL DeSerializeSubClass(CMarkup& xmlMessage);
    CPoint& GetEntrancePos();
    CPoint& GetExitPos();
    CPoint& GetNurseryPos();
    void StorePollen();
    void BrewHoney();

#ifndef _SERVER
    virtual void Draw();
#endif

private:
    CPoint m_entrancePos;
    CPoint m_exitPos;
    CPoint m_nurseryPos;

    INT m_nPollenStored;
    INT m_nHoneyNum;
};
